package com.hksj.drcs.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zengke
 * @version 1.0
 * @see ControlDeviceOverviewVO
 * @since 2025/06/05 15:23
 */

@Data
public class ControlDeviceOverviewVO {

    @ApiModelProperty(value = "回路类型 1=紫外线 2=生物安全柜 3=水平层流台")
    private Integer loopType;

    @ApiModelProperty(value = "远程控制设备列表")
    private List<ControlDeviceDetailVO> deviceList;

    @Data
    public static class ControlDeviceDetailVO {

        @ApiModelProperty(value = "回路类型 1=紫外线 2=生物安全柜 3=水平层流台")
        @JsonIgnore
        private Integer loopType;

        @ApiModelProperty(value = "控制器设备实体id")
        private String controllerDeviceInstanceId;

        @ApiModelProperty(value = "控制器设备实体名称")
        private String controllerDeviceInstanceName;

        @ApiModelProperty(value = "控制器设备模型id")
        private String controllerDeviceModelId;

        @ApiModelProperty(value = "控制器设备模型名称")
        private String controllerDeviceModelName;

        @ApiModelProperty(value = "虚拟回路设备模型id")
        private String virtualLoopDeviceModelId;

        @ApiModelProperty(value = "虚拟回路设备模型名称")
        private String virtualLoopDeviceModelName;

        @ApiModelProperty(value = "虚拟回路开关状态")
        private String virtualLoopSwitchStatus;

        @ApiModelProperty(value = "设备实体属性")
        private String controlDeviceInstanceProperty;

    }
}
